package com.cqc.other.juc.synchronize.demo1;

/**
 * @author cui
 * @date 2025/6/25 22:15
 * @description
 **/
public class BThread extends Thread {

    private DataEntity dataEntity;

    public BThread(DataEntity dataEntity) {
        this.dataEntity = dataEntity;
    }

    @Override
    public void run() {
        dataEntity.add();
    }
}
